﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Web;

/// <summary>
/// BLL_SingleSelect 的摘要描述
/// </summary>
/// 

[System.ComponentModel.DataObjectAttribute(true)]
public class BLL_SelectControl
{
    public BLL_SelectControl()
	{
		//
		// TODO: 在此加入建構函式的程式碼
		//
	}

    [System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select)]
    public DataTable BLL_SELECT_TrainingCourse(int GroupId)
    {
        DAO_SelectControlTableAdapters.TrainingCourseTableAdapter ta = new DAO_SelectControlTableAdapters.TrainingCourseTableAdapter();
        return ta.GetData(GroupId);
    }


    [System.ComponentModel.DataObjectMethod(System.ComponentModel.DataObjectMethodType.Select)]
    public DataTable BLL_SELECT_VolunteerTrainning(int GroupId, string CreateBy)
    {
        DAO_SelectControlTableAdapters.VolunteerTrainningTableAdapter ta = new DAO_SelectControlTableAdapters.VolunteerTrainningTableAdapter();
        return ta.GetData(GroupId,CreateBy);
    }

 







}
